package com.zd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程表
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sc_subject")
@ApiModel(value="Subject对象", description="课程表")
public class Subject implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程ID")
    @TableId("subject_id")
    private Integer subjectId;

    @ApiModelProperty(value = "课程名")
    private String subjectName;

    @ApiModelProperty(value = "学时数")
    private Integer teachingHours;

    @ApiModelProperty(value = "必修or选修")
    private String type;


}
